let express = require("express");
let router = express.Router();
let essay = require("../api/essay");

router.post("/add", essay.add);
router.get("/all", essay.all);
router.post("/setEssay", essay.setEssay);
router.get("/classify", essay.classify);
router.get("/detailed", essay.detailed);
router.post("/viewAdd", essay.viewAdd);
router.post("/setLC", essay.setLC);
router.get("/search", essay.search);
module.exports = router;
